package edu.zut.cs.javaee.manager.admin.domain;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.JoinColumn;
import javax.persistence.ManyToOne;
import javax.persistence.Table;

import edu.zut.cs.javaee.manager.base.domain.BaseEntity;
/**
 * 
 * @author Is.f
 *
 */
@Entity
@Table(name="T_GroupManager")
public class GroupManager extends BaseEntity<Long> {

	/**
	 *
	 */
	private static final long serialVersionUID = -2988702789943223892L;
	@Column
	String groupmanager_name;
	/**
	 * name for group_manager
	 */
	@Column
	String groupmanager_code;
	/**
	 * name for group_manager
	 */
	
	@ManyToOne
	@JoinColumn(name = "MANAGER_GROUP_ID")
	Manager manager;
	
	public String getGroupmanager_name() {
		return groupmanager_name;
	}

	public void setGroupmanager_name(String groupmanager_name) {
		this.groupmanager_name = groupmanager_name;
	}

	public String getGroupmanager_code() {
		return groupmanager_code;
	}

	public void setGroupmanager_code(String groupmanager_code) {
		this.groupmanager_code = groupmanager_code;
	}

}
